package com.jic.member.entity.power;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 会员积分台账表
 * @author : zxl
 * @email : 
 * @since : 2020-06-16 11:40:47
 * @version : v1.0.0
 */
@Getter
@Setter
public class MememberUserLedger implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "id")
    private Integer id;
    @ApiModelProperty(notes = "用户id 关联 mem_member_user")
    private Long memberUserId;
    @ApiModelProperty(notes = "第三方用户id")
    private Long thirdUserId;
    @ApiModelProperty(notes = "会员总积分=冻结积分+可用积分")
    private BigDecimal total;
    @ApiModelProperty(notes = "冻结积分")
    private BigDecimal frozen;
    @ApiModelProperty(notes = "可用积分")
    private BigDecimal available;
    @ApiModelProperty(notes = "用户账号")
    private String userAccount;
    @ApiModelProperty(notes = "状态 1 正常 2 黑名单")
    private Integer status;
    @ApiModelProperty(notes = "创建时间")
    private Date createTime;
    @ApiModelProperty(notes = "创建人id")
    private Long creator;
    @ApiModelProperty(notes = "创建人名称")
    private String creatorName;
    @ApiModelProperty(notes = "修改时间")
    private Date updateTime;
    @ApiModelProperty(notes = "修改人id")
    private Long updator;
    @ApiModelProperty(notes = "修改人名称")
    private String updatorName;
    @ApiModelProperty(notes = "是否删除 0 未删除 1 删除")
    private Integer deleteFlag;
    
}